virtualisation.oci-containers.containers.<name>.dependsOn
Define which other containers this one depends on. They will be added to both After and Requires for the unit.
Use the same name as the attribute under virtualisation.oci-containers.containers.
- Type
list of string- Default
[ ]- Example
virtualisation.oci-containers.containers = { node1 = {}; node2.dependsOn = [ "node1" ]; };- Declared
- <nixpkgs/nixos/modules/virtualisation/oci-containers.nix>